<?php
/**
 * Created by PhpStorm.
 * User: yangfan
 * Date: 2019/11/23
 * Time: 5:36 PM
 */

namespace App\Entities;

use Illuminate\Database\Eloquent\Model;

class TransactionRecordModel extends Model
{
    protected $table = 'transaction_record';

    public const TRANSACTION_RECORD_TYPE_好友下单 = 1;    // 获得
    public const TRANSACTION_RECORD_TYPE_好友下单_取消 = 5;    // 下单取消

    public const TRANSACTION_RECORD_TYPE_余额抵扣 = 3;    // 使用
    public const TRANSACTION_RECORD_TYPE_余额回退 = 4;    // 订单过期末支付时会发生

    public const TRANSACTION_RECORD_TYPE_转入到微信 = 2;  // 提现
}
